package com.taotao.test2.easy;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author: yangypeng
 * @date: 2022/11/11 22:25
 * @Version: 1.0
 * @Description:
 */
@Data
@EqualsAndHashCode
public class VoteExcel {

    @ExcelProperty({"序号"})
    private Integer id;

    @ExcelProperty({"投票时间"})
    @DateTimeFormat("yyyy-MM-dd HH:mm::ss")
    private Date voteTime;

    @ExcelProperty({"投票人"})
    private String voteName;

   @ExcelProperty({"描述"})
    private String voteOption;
}
